package com.liarjo.mywebsiteapi.admin.config;

import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

@Component
@ConfigurationProperties(prefix = "app")
@Data
public class AppConfig {
    private Cors cors = new Cors();

    @Data
    public class Cors {
        private List<String> allowedOriginList;
    }
}
